package controller_admin

import (
	"github.com/doujunyu/gogo/job"
	"go_self/server"
)

func UserByList(j *job.Job){
	input := make(map[string]string)
	input["status"] = j.Input["status"]
	input["page"] = j.Input["page"]
	input["page_size"] = j.Input["page_size"]
	data := server.UserByList(input)
	if len(data) == 0 {
		j.JsonSuccess()
		return
	}
	j.JsonSuccess(data)
	return
}


